/*
 * Created on 28-ene-2005
 *
 * TODO To change the template for this generated file go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
package com.juanfrivaldes.cio2005.dao;

import java.util.List;

import org.springframework.dao.DataAccessException;

import com.juanfrivaldes.cio2005.domain.Usuario;

/**
 * @author root
 *
 * TODO To change the template for this generated type comment go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
public interface UsuarioDao {
	
	public Usuario getUsuario(String user,String password) throws DataAccessException;
	
	public void addUsuario(Usuario user) throws DataAccessException;
	
	public void updateUsuario(Usuario user) throws DataAccessException;

	/**
	 * @param email
	 * @return
	 */
	public Usuario getUsuario(String email) throws DataAccessException;
	
	public List getUsuarios() throws DataAccessException;

	public void inscribeUsuario(String userMail) throws DataAccessException;

	public List getInscritos() throws DataAccessException;

	public List getPagados() throws DataAccessException;
	
	public void setPagado(String user) throws DataAccessException;
	
}
